package main

import (
	"container/list"
	"fmt"
)

func main() {
	link := list.New()
	for i := 0; i <= 10; i++ {
		link.PushBack(i)
	}
	n := link.Back()
	fmt.Println(n.Value)
	for p := link.Front(); p != nil; p = p.Next() {
		fmt.Println(p.Value)
	}
	x := 10
	x -= 1 + 2
	fmt.Println(x)
}
